package org.geektimes.projects.user.support.transaction;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Transaction {




	/**
	 * 回滚
	 * @return
	 */
	Class<? extends Throwable> rollback() default Throwable.class;

}
